package com.molichuxing.gateway.api.services;

import java.util.List;

import com.molichuxing.framework.result.ResponseResult;
import com.molichuxing.gateway.bff.user.entity.request.create.IdentityCardCreateVo;
import com.molichuxing.gateway.bff.user.entity.request.create.IdentityCardImgCreateVo;
import com.molichuxing.gateway.bff.user.entity.request.create.UserCreateVo;
import com.molichuxing.gateway.bff.user.entity.request.modify.AccountModifyVo;
import com.molichuxing.gateway.bff.user.entity.request.modify.UserModifyVo;
import com.molichuxing.gateway.bff.user.entity.response.AccountVo;
import com.molichuxing.gateway.bff.user.entity.response.UserLoginVo;

/**
 * 
 * @author liyg
 * 用户智能终端网关接口
 * 2019-10-17
 */
public interface TerminalUserApiService {

	/**
	 * 终端身份证识别接口
	 * @param createVo
	 * @return
	 */
	ResponseResult<UserLoginVo> createIdentityCard(IdentityCardCreateVo createVo);

	/**
	 * (终端)用户登录注册接口
	 * @param createVo
	 * @param token
	 * @return
	 */
	ResponseResult<String> createUser(UserCreateVo createVo, String token);

	/**
	 * 修改用户信息接口
	 * @param modifyVo
	 * @param token
	 * @return
	 */
	ResponseResult<Boolean> modifyUser(UserModifyVo modifyVo, String token);

	/**
	 * 获取该门店的销售顾问信息
	 * @param deviceNum
	 * @return
	 */
	ResponseResult<List<AccountVo>> getStroeAccount(String deviceNum);

	/**
	 * 大屏销售顾问登录接口
	 * @param modifyVo
	 * @return
	 */
	ResponseResult<String> counselorLogin(AccountModifyVo modifyVo);

	/**
	 * 保存身份证图片接口
	 * @param createVo
	 * @return
	 */
	ResponseResult<Boolean> createCardImg(IdentityCardImgCreateVo createVo);

}
